[@main]
#IF
HOUR 20 21
MIN 1 3
#SAY
You need to wait around 3mins before you can access this NPC.\ \
<Exit/@exit>
#ELSEACT
GOTO @check


[@check]
#IF
CHECKHUM Herom40  1
#ACT
goto @day
#ELSESAY
You need to aliminate all the other contestants before you can\
access this NPC.\ \
<Exit/@exit>

[@day]
#IF
DAYOFWEEK TUE
#ACT
Addnamelist ../Market_def/Lms/Winner.txt
SENDALLMSG "<$USERNAME> is todays LastmanStanding winner!" 2
#ELSEACT
goto @thu

[@thu]
#IF
DAYOFWEEK THU
#ACT
Give LmsHat 1
GMEXECUTE addpotcash SELF 200
Addnamelist ../Market_def/Lms/Winner.txt
SENDMSG "You have gained 200 PotCash" 3
SENDALLMSG "<$USERNAME> is todays LastmanStanding winner!" 2
break